//
//  CaseHistoryCell.m
//  hospitalVIP
//
//  Created by Xiaoyan on 13-1-5.
//  Copyright (c) 2013年 MEETStudio. All rights reserved.
//

#import "CaseHistoryCell.h"

@implementation CaseHistoryCell


- (void)dealloc{
    
    [dateLable release];
    [case_historyImageView release];
    [descLable release];
    
    [super dealloc];
}


- (void)loadCellViewWith:(NSDictionary *)dict{
    
    [backGroundImageView setImage:[[UIImage imageNamed:@"conttentView_bgBlue.png"] stretchableImageWithLeftCapWidth:150 topCapHeight:20]];
    
    
    dateLable.text = [dict objectForKey:@"createDate"];
    case_historyImageView.image = [UIImage imageNamed:[dict objectForKey:@"caseHistoryAttachement"]];
    
    descLable.text = [dict objectForKey:@"caseHistoryDesc"];
    
    
    
}




- (id)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
{
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
        // Initialization code
    }
    return self;
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated
{
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
